{# bootstrap alert messages #}
{% for alert in _globals.messages %}
    <div class="alert alert-{{ alert.type }} alert-dismissible fade in" role="alert">
        {% if alert.closeBtn %}
        <button type="button" class="close" data-dismiss="alert" aria-label="Close">
            <span aria-hidden="true">&times;</span></button>
        {% endif %}
        {% if alert.title %}<strong>{{ alert.title }}!</strong> {% endif %} {{ alert.msg }}
    </div>
{% endfor %}